<h1>Listing inclusions</h1>

<table>
  <tr>
    <th>Card</th>
    <th>Deck</th>
  </tr>
  
<% for inclusion in @inclusions %>
  <tr>
    <td><%=h inclusion.card_id %></td>
    <td><%=h inclusion.deck_id %></td>
    <td><%= link_to 'Show', inclusion_path(inclusion) %></td>
    <td><%= link_to 'Edit', edit_inclusion_path(inclusion) %></td>
    <td><%= link_to 'Destroy', inclusion_path(inclusion), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New inclusion', new_inclusion_path %>